package com.mall.service;

import com.mall.mapper.detailMapper;
import com.mall.pojo.details;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class detailService {
    @Autowired
    private detailMapper detailMapper;
    public details getGoodDetails(int id) {
        return detailMapper.getGoodDetails(id);
    }
}
